<template>
    <div>
        <!-- 返回首页 -->
        <el-breadcrumb separator="/">
            <el-breadcrumb-item  :to="{ path: '/MyHome' }">首页</el-breadcrumb-item>
            <el-breadcrumb-item>{{name1}}</el-breadcrumb-item>
            <el-breadcrumb-item>{{name2}}</el-breadcrumb-item>
        </el-breadcrumb>
        
    </div>
</template>

<script>

export default {
    name: 'CrumBsofbread',
    props: {
        name1: String,
        name2: String
    }
}
</script>

<style>

</style>